package com.cci.kangdao.service;

import com.alibaba.fastjson.JSONArray;
import com.cci.kangdao.dto.response.DictionariesTree;
import org.springframework.web.servlet.ModelAndView;

import java.util.List;
import java.util.Map;

//字典类接口
public interface DictionariesTService {
	ModelAndView getGoOutTypeList(Map<String, Object> map);

	//区域工程师远程解决时获取字典项
	public ModelAndView getDictionariesTDataByAreaEngineer(Map<String, Object> map);

	void getDictionaryList(Map<String, Object> map);

	void getDictionaryListByDTableName(Map<String, Object> map);

	List<Map<String,Object>> getDictionaryList(String type);

	String getDictionaryDIntByDValue(String type,String dValue);

	String getDictionaryDValueByDInt(String type,Integer dInt);

	List<Map<String,Object>> getDictionaryRemark(String type,String remark);

	Integer filterDictionaryList(List<Map<String,Object>> list, String dValue);

	JSONArray getDictionaryTree(String dTableName);
}
